package com.hp.service;

import com.hp.req.ChatMemoryReq;
import com.hp.vo.ChatMemoryVO;
import jakarta.servlet.http.HttpServletResponse;

import java.util.Map;

/**
 * @author hp
 */
public interface ChatService {


    String normalCompletion(String message);


    Map<String, String> streamCompletion(String message);

    void image(String input, HttpServletResponse response);

    String chatMemoryByList(String systemMessage, String userMessage);

    ChatMemoryVO chatMemory(ChatMemoryReq chatMemoryReq);
}